import utils from '@/utils/util.js'
import storage from '@/storage/storage.js'
import config from '@/config/config.js'
import request from '@/api/index.js'

export default {
	data() {
		return {
			info: {}
		}
	},
	onLoad(options) {
		this.getArticleDetail(options.id)
	},
	methods: {
		getArticleDetail(id) {
			request.getArticleDetail({id: id}).then(res => {
				console.log(res.data);
				this.info = res.data
			})
		}
	}
}